package com.dobbinsoft.iotechn.device.mqtt.serializer;

import java.util.List;

/**
 * Description:
 * User: rize
 * Date: 2020/6/22
 * Time: 14:49
 */
public interface IotMqttDeserializer {

    public <T> T parseObject(byte[] payload, Class<T> clazz);

    public <T> List<T> parseArray(byte[] payload, Class<T> clazz);

}
